﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MenuTaiKhoan.ascx.cs" Inherits="iShopping.Member.UserControl.MenuTaiKhoan" %>
<%--<link href="../../css/TaiKhoan.css" rel="stylesheet" type="text/css" />--%>
<div id= "avatar">   
    <div style="border-style: solid; border-width: 1px"  >
     <asp:FormView ID="FormView1" runat="server" Height="74px">
        <ItemTemplate>
            <table class="style5">
                <tr>
                    <td class="style6" rowspan="2">
                        <asp:Image ID="AvatarImages" runat="server" Height="100px" 
                ImageUrl='<%# Eval("Avatar") %>' style="margin-right: 9px" Width="107px" />
                    </td>
                    <td>
                        <asp:Label ID="lblTen" runat="server" 
                Text='<%# Eval("TenTaiKhoan") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblLoai" runat="server" 
                Text='<%# Eval("TenLoaiTK") %>'></asp:Label>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:FormView>
    
    </div>    
   
    <div id= "canhan" 
        style="margin: 2px 1px 2px 1px; padding: 1px; border-style: solid; border-width: 1px;" > 
<div style="overflow: hidden" align="center">CÁ NHÂN</div> 
    <asp:FormView ID="FormView2" runat="server" Width="186px" Height="74px">
        <ItemTemplate>
            <ul>
                <li>
                    <asp:HyperLink ID="HyperLink1" runat="server" 
                        Text="Thông tin tài khoản"                         
                        NavigateUrl='<%# "~/Member/ThongTinCaNhan.aspx?profile=" + Eval("MaTaiKhoan") %>' 
                        ></asp:HyperLink>
                </li>               
                 <li>
                    <asp:HyperLink ID="HyperLink3" runat="server" 
                        Text="Thay đổi mật khẩu" 
                        NavigateUrl='<%# "~/Member/ThayDoiMatKhau.aspx?profile=" + Eval("MaTaiKhoan")%>' ></asp:HyperLink>
                </li>   
                 <li>
                    <asp:HyperLink ID="HyperLink2" runat="server" 
                        Text="Phục hồi mật khẩu" 
                        NavigateUrl='<%# "~/Member/PhucHoiMatKhau.aspx?profile=" + Eval("MaTaiKhoan")%>' ></asp:HyperLink>
                </li>           
            </ul>
        </ItemTemplate>
    </asp:FormView>   
    
</div>
<!-- end cá nhân -->

 <div id="menu">
            <div id="Div1">
            <p align="center">MUA HÀNG</p>
                <ul>
                      <li ><a href="../Member/SanPhamThang.aspx?pgn=1" ><span>Sản Phẩm Thắng</span></a></li>
                       <li ><a href="../Member/SanPhamDauGia.aspx?pgn=1" ><span>SP Đấu Giá</span></a></li>
                </ul>
            </div>
<!-- end mua hang -->
            <div id="Div2">
               <p align="center">BÁN HÀNG</p>
                   <ul>
                         <li ><a href="" ><span>Đăng Đấu Giá</span></a></li>
                         <li ><a href="" ><span>Đăng Bán</span></a></li>
                   </ul>
             </div>
        </div>
<!-- end menu-->

</div>
<!-- end avatar -->